package cn.bus.service;

import cn.bus.domain.Customer;
import cn.bus.vo.CustomerVo;
import cn.sys.utils.DataGridView;

/**
 * @author Mxb
 * @version 1.0
 * @date 2019/11/2 21:04
 */
public interface CustomerService {

    //查询所有用户
    public DataGridView queryAllCustomer(CustomerVo customerVo);

    //添加用户
    public void addCustomer(CustomerVo customerVo);

    //更新用户
    public void updateCustomer(CustomerVo customerVo);

    //    根据id删除
    public void deleteCustomerById(String id);

    //    批量删除
    public void deleteBatchCustomer(String[] ids);

    //根据id查询
    public Customer queryCustomerById(String id);
}
